﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class EnumerableExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class EnumerableExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Collections.EnumerableExtensions">
  
  
  <h1 id="CodeJam_Collections_EnumerableExtensions" data-uid="CodeJam.Collections.EnumerableExtensions" class="text-break">Class EnumerableExtensions
  </h1>
  <div class="markdown level0 summary"><p>Extensions for <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span></p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">EnumerableExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Collections.html">CodeJam.Collections</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Collections_EnumerableExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class EnumerableExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%600%2C%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L18">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,``0},``0)">AggregateOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TSource, TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource AggregateOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TSource, TSource&gt; func, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TSource, TSource&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value returned if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0___0__System_Func___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%600%2C%60%600%7D%2CSystem.Func%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L121">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0___0__System_Func___0__" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,``0},System.Func{``0})">AggregateOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TSource, TSource&gt;, Func&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource AggregateOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TSource, TSource&gt; func, Func&lt;TSource&gt; defaultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TSource, TSource&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource&gt;</td>
        <td><span class="parametername">defaultSelector</span></td>
        <td><p>A function to select default value if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__2_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1____1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%601%2CSystem.Func%7B%60%601%2C%60%600%2C%60%601%7D%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L51">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__2_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1____1_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``1)">AggregateOrDefault&lt;TSource, TAccumulate&gt;(IEnumerable&lt;TSource&gt;, TAccumulate, Func&lt;TAccumulate, TSource, TAccumulate&gt;, TAccumulate)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TAccumulate AggregateOrDefault&lt;TSource, TAccumulate&gt;(this IEnumerable&lt;TSource&gt; source, TAccumulate seed, Func&lt;TAccumulate, TSource, TAccumulate&gt; func, TAccumulate defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><span class="parametername">seed</span></td>
        <td><p>The initial accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TSource, TAccumulate&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value returned if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TAccumulate</span></td>
        <td><p>The type of the accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__2_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%601%2CSystem.Func%7B%60%601%2C%60%600%2C%60%601%7D%2CSystem.Func%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L155">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__2_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1__" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1})">AggregateOrDefault&lt;TSource, TAccumulate&gt;(IEnumerable&lt;TSource&gt;, TAccumulate, Func&lt;TAccumulate, TSource, TAccumulate&gt;, Func&lt;TAccumulate&gt;)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TAccumulate AggregateOrDefault&lt;TSource, TAccumulate&gt;(this IEnumerable&lt;TSource&gt; source, TAccumulate seed, Func&lt;TAccumulate, TSource, TAccumulate&gt; func, Func&lt;TAccumulate&gt; defaultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><span class="parametername">seed</span></td>
        <td><p>The initial accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TSource, TAccumulate&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate&gt;</td>
        <td><span class="parametername">defaultSelector</span></td>
        <td><p>A function to select default value if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TAccumulate</span></td>
        <td><p>The type of the accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__3_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1___2____2_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%601%2CSystem.Func%7B%60%601%2C%60%600%2C%60%601%7D%2CSystem.Func%7B%60%601%2C%60%602%7D%2C%60%602)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L87">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__3_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1___2____2_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2},``2)">AggregateOrDefault&lt;TSource, TAccumulate, TResult&gt;(IEnumerable&lt;TSource&gt;, TAccumulate, Func&lt;TAccumulate, TSource, TAccumulate&gt;, Func&lt;TAccumulate, TResult&gt;, TResult)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult AggregateOrDefault&lt;TSource, TAccumulate, TResult&gt;(this IEnumerable&lt;TSource&gt; source, TAccumulate seed, Func&lt;TAccumulate, TSource, TAccumulate&gt; func, Func&lt;TAccumulate, TResult&gt; resultSelector, TResult defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><span class="parametername">seed</span></td>
        <td><p>The initial accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TSource, TAccumulate&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>A function to transform the final accumulator value into the result value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value returned if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TAccumulate</span></td>
        <td><p>The type of the accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the resulting value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__3_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1___2__System_Func___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AggregateOrDefault%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%601%2CSystem.Func%7B%60%601%2C%60%600%2C%60%601%7D%2CSystem.Func%7B%60%601%2C%60%602%7D%2CSystem.Func%7B%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.AggregateOrDefault.cs/#L192">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AggregateOrDefault__3_System_Collections_Generic_IEnumerable___0____1_System_Func___1___0___1__System_Func___1___2__System_Func___2__" data-uid="CodeJam.Collections.EnumerableExtensions.AggregateOrDefault``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2},System.Func{``2})">AggregateOrDefault&lt;TSource, TAccumulate, TResult&gt;(IEnumerable&lt;TSource&gt;, TAccumulate, Func&lt;TAccumulate, TSource, TAccumulate&gt;, Func&lt;TAccumulate, TResult&gt;, Func&lt;TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Applies an accumulator function over a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult AggregateOrDefault&lt;TSource, TAccumulate, TResult&gt;(this IEnumerable&lt;TSource&gt; source, TAccumulate seed, Func&lt;TAccumulate, TSource, TAccumulate&gt; func, Func&lt;TAccumulate, TResult&gt; resultSelector, Func&lt;TResult&gt; defaultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to aggregate over.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TAccumulate</span></td>
        <td><span class="parametername">seed</span></td>
        <td><p>The initial accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TSource, TAccumulate&gt;</td>
        <td><span class="parametername">func</span></td>
        <td><p>An accumulator function to be invoked on each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TAccumulate, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>A function to transform the final accumulator value into the result value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TResult&gt;</td>
        <td><span class="parametername">defaultSelector</span></td>
        <td><p>A function to select default value if the source is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>The final accumulator value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TAccumulate</span></td>
        <td><p>The type of the accumulator value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the resulting value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AsArray__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AsArray%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L417">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AsArray_" data-uid="CodeJam.Collections.EnumerableExtensions.AsArray*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AsArray__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.AsArray``1(System.Collections.Generic.IEnumerable{``0})">AsArray&lt;T&gt;(IEnumerable&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Casts the specified sequence to array if possible, or creates an array from.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T[] AsArray&lt;T&gt;(this IEnumerable&lt;T&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create an array from.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><p>An array that contains elements from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_AsList__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.AsList%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L405">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_AsList_" data-uid="CodeJam.Collections.EnumerableExtensions.AsList*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_AsList__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.AsList``1(System.Collections.Generic.IEnumerable{``0})">AsList&lt;T&gt;(IEnumerable&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Casts the specified sequence to <span class="xref">System.Collections.Generic.List&lt;T&gt;</span> if possible, or creates a <span class="xref">System.Collections.Generic.List&lt;T&gt;</span> from.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static List&lt;T&gt; AsList&lt;T&gt;(this IEnumerable&lt;T&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.List&lt;T&gt;</span> from.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.List</span>&lt;T&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.List&lt;T&gt;</span> that contains elements from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_CombineWithNext__2_System_Collections_Generic_IEnumerable___0____0_System_Func___0___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.CombineWithNext%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.With.cs/#L116">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_CombineWithNext_" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithNext*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_CombineWithNext__2_System_Collections_Generic_IEnumerable___0____0_System_Func___0___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithNext``2(System.Collections.Generic.IEnumerable{``0},``0,System.Func{``0,``0,``1})">CombineWithNext&lt;T, TResult&gt;(IEnumerable&lt;T&gt;, T, Func&lt;T, T, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Combines item with next value from the sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TResult&gt; CombineWithNext&lt;T, TResult&gt;(this IEnumerable&lt;T&gt; source, T combineLast, Func&lt;T, T, TResult&gt; prevNextSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The input sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">combineLast</span></td>
        <td><p>The value to be used as a next for the last item in the sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, T, TResult&gt;</td>
        <td><span class="parametername">prevNextSelector</span></td>
        <td><p>The previous next selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TResult&gt;</td>
        <td><p>Sequence of items combined with previous values from the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the item.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_CombineWithPrevious__2_System_Collections_Generic_IEnumerable___0____0_System_Func___0___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.CombineWithPrevious%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.With.cs/#L84">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_CombineWithPrevious_" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithPrevious*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_CombineWithPrevious__2_System_Collections_Generic_IEnumerable___0____0_System_Func___0___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithPrevious``2(System.Collections.Generic.IEnumerable{``0},``0,System.Func{``0,``0,``1})">CombineWithPrevious&lt;T, TResult&gt;(IEnumerable&lt;T&gt;, T, Func&lt;T, T, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Combines item with previous value from the sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TResult&gt; CombineWithPrevious&lt;T, TResult&gt;(this IEnumerable&lt;T&gt; source, T seed, Func&lt;T, T, TResult&gt; prevNextSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The input sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">seed</span></td>
        <td><p>The seed value to be used as a previous for the first item in the sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, T, TResult&gt;</td>
        <td><span class="parametername">prevNextSelector</span></td>
        <td><p>The previous next selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TResult&gt;</td>
        <td><p>Sequence of items combined with previous values from the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the item.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_CombineWithPrevious__2_System_Collections_Generic_IEnumerable___0__System_Func___0___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.CombineWithPrevious%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.With.cs/#L50">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_CombineWithPrevious_" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithPrevious*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_CombineWithPrevious__2_System_Collections_Generic_IEnumerable___0__System_Func___0___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.CombineWithPrevious``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,``1})">CombineWithPrevious&lt;T, TResult&gt;(IEnumerable&lt;T&gt;, Func&lt;T, T, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Combines item with previous value from the sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TResult&gt; CombineWithPrevious&lt;T, TResult&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, T, TResult&gt; prevNextSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The input sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, T, TResult&gt;</td>
        <td><span class="parametername">prevNextSelector</span></td>
        <td><p>The previous next selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TResult&gt;</td>
        <td><p>Sequence of items combined with previous values from the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the item.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Concat__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Concat%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L34">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Concat_" data-uid="CodeJam.Collections.EnumerableExtensions.Concat*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Concat__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.Concat``1(System.Collections.Generic.IEnumerable{``0},``0)">Concat&lt;T&gt;(IEnumerable&lt;T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Appends specified <code data-dev-comment-type="paramref" class="paramref">element</code> to end of the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Concat&lt;T&gt;(this IEnumerable&lt;T&gt; source, T element)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source enumerable.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">element</span></td>
        <td><p>Element to concat.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Concatenated enumerable</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Concat__1_System_Collections_Generic_IEnumerable___0____0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Concat%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L56">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Concat_" data-uid="CodeJam.Collections.EnumerableExtensions.Concat*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Concat__1_System_Collections_Generic_IEnumerable___0____0___" data-uid="CodeJam.Collections.EnumerableExtensions.Concat``1(System.Collections.Generic.IEnumerable{``0},``0[])">Concat&lt;T&gt;(IEnumerable&lt;T&gt;, T[])</h4>
  <div class="markdown level1 summary"><p>Appends specified <code data-dev-comment-type="paramref" class="paramref">elements</code> to end of the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Concat&lt;T&gt;(this IEnumerable&lt;T&gt; source, params T[] elements)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source enumerable.</p>
</td>
      </tr>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">elements</span></td>
        <td><p>Elements to concat.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Concatenated enumerable</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_DistinctBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.DistinctBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L209">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_DistinctBy_" data-uid="CodeJam.Collections.EnumerableExtensions.DistinctBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_DistinctBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">DistinctBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns a sequence with distinct elements from the input sequence based on the specified key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; DistinctBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence to return distinct elements from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains distinct elements from the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_DistinctBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.DistinctBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L224">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_DistinctBy_" data-uid="CodeJam.Collections.EnumerableExtensions.DistinctBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_DistinctBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">DistinctBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns a sequence with distinct elements from the input sequence based on the specified key and key comparer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; DistinctBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence to return distinct elements from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains distinct elements from the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ExceptBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ExceptBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L240">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ExceptBy_" data-uid="CodeJam.Collections.EnumerableExtensions.ExceptBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ExceptBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.ExceptBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">ExceptBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set difference of two sequences by using the specified key to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; ExceptBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose elements that are not also in second will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>A sequence that contains the set difference of the elements of two sequences.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ExceptBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ExceptBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L257">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ExceptBy_" data-uid="CodeJam.Collections.EnumerableExtensions.ExceptBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ExceptBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.ExceptBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">ExceptBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set difference of two sequences by using the specified key and <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; ExceptBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose elements that are not also in second will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>A sequence that contains the set difference of the elements of two sequences.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_FirstOrDefault__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.FirstOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L359">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_FirstOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.FirstOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_FirstOrDefault__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.FirstOrDefault``1(System.Collections.Generic.IEnumerable{``0},``0)">FirstOrDefault&lt;T&gt;(IEnumerable&lt;T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns first element, or specified <code data-dev-comment-type="paramref" class="paramref">defaultValue</code>, if sequence is empty.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T FirstOrDefault&lt;T&gt;(this IEnumerable&lt;T&gt; source, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to return an element from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p><code>default</code>(<code data-dev-comment-type="typeparamref" class="typeparamref">T</code>) if <code data-dev-comment-type="paramref" class="paramref">source</code> is empty; otherwise, the first element in
<code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_FirstOrDefault__1_System_Collections_Generic_IEnumerable___0____0_System_Func___0_System_Boolean__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.FirstOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%2CSystem.Func%7B%60%600%2CSystem.Boolean%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L382">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_FirstOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.FirstOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_FirstOrDefault__1_System_Collections_Generic_IEnumerable___0____0_System_Func___0_System_Boolean__" data-uid="CodeJam.Collections.EnumerableExtensions.FirstOrDefault``1(System.Collections.Generic.IEnumerable{``0},``0,System.Func{``0,System.Boolean})">FirstOrDefault&lt;T&gt;(IEnumerable&lt;T&gt;, T, Func&lt;T, Boolean&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns the first element of the sequence that satisfies a condition or a specified
<code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if no such element is found.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T FirstOrDefault&lt;T&gt;(this IEnumerable&lt;T&gt; source, T defaultValue, Func&lt;T, bool&gt; predicate)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to return an element from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
        <td><span class="parametername">predicate</span></td>
        <td><p>A function to test each element for a condition.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p><code>default</code>(<code data-dev-comment-type="typeparamref" class="typeparamref">T</code>) if <code data-dev-comment-type="paramref" class="paramref">source</code> is empty or if no element passes the test
specified by <code data-dev-comment-type="paramref" class="paramref">predicate</code>; otherwise, the first element in source that passes the test specified
by <code data-dev-comment-type="paramref" class="paramref">predicate</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Flatten__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Flatten%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.Flatten.cs/#L18">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Flatten_" data-uid="CodeJam.Collections.EnumerableExtensions.Flatten*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Flatten__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.Flatten``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}})">Flatten&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns a flattened sequence from a graph or hierarchy of elements by using the specified children selector.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Flatten&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; childrenSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source hierarchy to flatten.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">childrenSelector</span></td>
        <td><p>A function used to retrieve the children of an element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>A flat sequence of elements produced from the elements in the source hierarchy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupTopoSort%60%601(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L161">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort``1(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}})">GroupTopoSort&lt;T&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; GroupTopoSort&lt;T&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code> separated by dependency level.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupTopoSort%60%601(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L192">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort``1(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Collections.Generic.IEqualityComparer{``0})">GroupTopoSort&lt;T&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; GroupTopoSort&lt;T&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, IEqualityComparer&lt;T&gt; equalityComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">equalityComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>, separated by dependency level.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupTopoSort%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L148">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}})">GroupTopoSort&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; GroupTopoSort&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code> separated by dependency level.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupTopoSort%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L175">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupTopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupTopoSort``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Collections.Generic.IEqualityComparer{``0})">GroupTopoSort&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; GroupTopoSort&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, IEqualityComparer&lt;T&gt; equalityComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">equalityComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code> separated by dependency level.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupWhile__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0_System_Boolean__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupWhile%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%600%2CSystem.Boolean%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.GroupWhile.cs/#L147">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupWhile_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhile*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupWhile__1_System_Collections_Generic_IEnumerable___0__System_Func___0___0_System_Boolean__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhile``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,System.Boolean})">GroupWhile&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, T, Boolean&gt;)</h4>
  <div class="markdown level1 summary"><p>Groups items in the sequence while they have same grouping key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; GroupWhile&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, T, bool&gt; predicate)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, T, <span class="xref">System.Boolean</span>&gt;</td>
        <td><span class="parametername">predicate</span></td>
        <td><p>Gropung predicate.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>Grouped items.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of items in sequence</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupWhileEquals%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.GroupWhile.cs/#L18">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">GroupWhileEquals&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Groups items in the sequence while they have same grouping key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;IGrouping&lt;TKey, T&gt;&gt; GroupWhileEquals&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>The grouping key selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Linq.IGrouping</span>&lt;TKey, T&gt;&gt;</td>
        <td><p>Grouped items with grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of items in sequence</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupWhileEquals%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.GroupWhile.cs/#L32">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">GroupWhileEquals&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Groups items in the sequence while they have same grouping key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;IGrouping&lt;TKey, T&gt;&gt; GroupWhileEquals&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>The grouping key selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Linq.IGrouping</span>&lt;TKey, T&gt;&gt;</td>
        <td><p>Grouped items with grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of items in sequence</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__3_System_Collections_Generic_IEnumerable___0__System_Func___0___2__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupWhileEquals%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.GroupWhile.cs/#L80">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__3_System_Collections_Generic_IEnumerable___0__System_Func___0___2__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``2},System.Func{``0,``1})">GroupWhileEquals&lt;T, TItem, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, Func&lt;T, TItem&gt;)</h4>
  <div class="markdown level1 summary"><p>Groups items in the sequence while they have same grouping key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;IGrouping&lt;TKey, TItem&gt;&gt; GroupWhileEquals&lt;T, TItem, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, Func&lt;T, TItem&gt; itemSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>The grouping key selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TItem&gt;</td>
        <td><span class="parametername">itemSelector</span></td>
        <td><p>The item selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Linq.IGrouping</span>&lt;TKey, TItem&gt;&gt;</td>
        <td><p>Grouped items with grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of items in sequence</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TItem</span></td>
        <td><p>The type of resulting item.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__3_System_Collections_Generic_IEnumerable___0__System_Func___0___2__System_Func___0___1__System_Collections_Generic_IEqualityComparer___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.GroupWhileEquals%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.GroupWhile.cs/#L97">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals_" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_GroupWhileEquals__3_System_Collections_Generic_IEnumerable___0__System_Func___0___2__System_Func___0___1__System_Collections_Generic_IEqualityComparer___2__" data-uid="CodeJam.Collections.EnumerableExtensions.GroupWhileEquals``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``2},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``2})">GroupWhileEquals&lt;T, TItem, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, Func&lt;T, TItem&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Groups items in the sequence while they have same grouping key.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;IGrouping&lt;TKey, TItem&gt;&gt; GroupWhileEquals&lt;T, TItem, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, Func&lt;T, TItem&gt; itemSelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>The grouping key selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TItem&gt;</td>
        <td><span class="parametername">itemSelector</span></td>
        <td><p>The item selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Linq.IGrouping</span>&lt;TKey, TItem&gt;&gt;</td>
        <td><p>Grouped items with grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of items in sequence</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TItem</span></td>
        <td><p>The type of resulting item.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the grouping key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IntersectBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IntersectBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L274">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IntersectBy_" data-uid="CodeJam.Collections.EnumerableExtensions.IntersectBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IntersectBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.IntersectBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">IntersectBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set intersection of two sequences by using the specified key to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; IntersectBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements that also appear in second will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements that also appear in the first sequence will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>A sequence that contains the elements that form the set intersection of two sequences.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IntersectBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IntersectBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L291">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IntersectBy_" data-uid="CodeJam.Collections.EnumerableExtensions.IntersectBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IntersectBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.IntersectBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">IntersectBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set intersection of two sequences by using the specified key and <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; IntersectBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements that also appear in second will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements that also appear in the first sequence will be returned.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>A sequence that contains the elements that form the set intersection of two sequences.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IsFirst__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IsFirst%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L452">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IsFirst_" data-uid="CodeJam.Collections.EnumerableExtensions.IsFirst*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IsFirst__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.IsFirst``1(System.Collections.Generic.IEnumerable{``0},``0)">IsFirst&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Checks, if <code data-dev-comment-type="paramref" class="paramref">item</code> is first element of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsFirst&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to check.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>Source item to compare with first element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code>, if <code data-dev-comment-type="paramref" class="paramref">source</code> has at least one element and first element is equals to
<code data-dev-comment-type="paramref" class="paramref">item</code>, otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IsFirst__1_System_Collections_Generic_IEnumerable___0____0_System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IsFirst%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L467">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IsFirst_" data-uid="CodeJam.Collections.EnumerableExtensions.IsFirst*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IsFirst__1_System_Collections_Generic_IEnumerable___0____0_System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.IsFirst``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">IsFirst&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource, IEqualityComparer&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Checks, if <code data-dev-comment-type="paramref" class="paramref">item</code> is first element of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsFirst&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource item, IEqualityComparer&lt;TSource&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to check.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>Source item to compare with first element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code>, if <code data-dev-comment-type="paramref" class="paramref">source</code> has at least one element and first element is equals to
<code data-dev-comment-type="paramref" class="paramref">item</code>, otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IsLast__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IsLast%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L497">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IsLast_" data-uid="CodeJam.Collections.EnumerableExtensions.IsLast*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IsLast__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.IsLast``1(System.Collections.Generic.IEnumerable{``0},``0)">IsLast&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Checks, if <code data-dev-comment-type="paramref" class="paramref">item</code> is last element of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsLast&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to check.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>Source item to compare with last element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code>, if <code data-dev-comment-type="paramref" class="paramref">source</code> has at least one element and last element is equals to
<code data-dev-comment-type="paramref" class="paramref">item</code>, otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_IsLast__1_System_Collections_Generic_IEnumerable___0____0_System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.IsLast%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L512">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_IsLast_" data-uid="CodeJam.Collections.EnumerableExtensions.IsLast*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_IsLast__1_System_Collections_Generic_IEnumerable___0____0_System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.IsLast``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">IsLast&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource, IEqualityComparer&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Checks, if <code data-dev-comment-type="paramref" class="paramref">item</code> is last element of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsLast&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource item, IEqualityComparer&lt;TSource&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to check.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>Source item to compare with last element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code>, if <code data-dev-comment-type="paramref" class="paramref">source</code> has at least one element and last element is equals to
<code data-dev-comment-type="paramref" class="paramref">item</code>, otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2199">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Byte})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Byte&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Byte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Decimal%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4169">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Decimal})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Decimal&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Decimal</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Double%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3964">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Double})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Double&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Double</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int16%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2589">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int16})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int16&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2979">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int32})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int32&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int64%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3369">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int64})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int64&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Byte%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2281">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Byte}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Byte&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Byte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Decimal%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4251">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Decimal}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Decimal&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Double%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4056">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Double}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Double&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Double</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int16%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2671">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int16}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int16&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int32%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3061">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int32}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int32&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int64%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3451">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int64}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int64&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.SByte%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2476">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.SByte}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;SByte&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.SByte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Single%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3851">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Single}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Single&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Single</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt16%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2866">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt16}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt16&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt32%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3256">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt32}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt32&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt64%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3646">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64___" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt64}})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt64&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.SByte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2394">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.SByte})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, SByte&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.SByte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Single%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3759">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Single})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Single&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Single</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt16%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2784">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt16})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt16&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3174">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt32})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt32&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt64%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3564">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt64})">MaxBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt64&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L211">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">MaxBy&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with maximum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the maximum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L246">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1})">MaxBy&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, IComparer&lt;TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with maximum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxBy&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, IComparer&lt;TValue&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the maximum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TValue&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Byte%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2242">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Byte},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Byte&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Byte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Decimal%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4212">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Decimal},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Decimal&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Decimal</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Double%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4012">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Double},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Double&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Double</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int16%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2632">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int16},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int16&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int32%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3022">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int32},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int32&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int64%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3412">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int64},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int64&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Byte%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2338">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Byte}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Byte&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Byte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Decimal%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4308">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Decimal}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Decimal&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Double%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L4113">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Double}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Double&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Double</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int16%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2728">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int16}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int16&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int32%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3118">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int32}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int32&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int64%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3508">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int64}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int64&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.SByte%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2533">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.SByte}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;SByte&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.SByte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Single%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3908">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Single}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Single&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Single</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt16%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2923">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt16}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt16&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt32%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3313">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt32}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt32&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt64%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3703">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt64}},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt64&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.SByte%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2437">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.SByte},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, SByte&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.SByte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Single%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3807">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Single},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Single&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Single</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt16%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2827">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt16},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt16&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt32%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3217">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt32},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt32&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt64%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L3607">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt64},``0)">MaxByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt64&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L229">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},``0)">MaxByOrDefault&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with maximum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the maximum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxByOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L322">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxByOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1},``0)">MaxByOrDefault&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, IComparer&lt;TValue&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with maximum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxByOrDefault&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, IComparer&lt;TValue&gt; comparer, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the maximum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TValue&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with maximum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L348">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``1(System.Collections.Generic.IEnumerable{``0})">MaxOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Maximum item from the sequence or default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L358">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``1(System.Collections.Generic.IEnumerable{``0},``0)">MaxOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Maximum item from the sequence or default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L368">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">MaxOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, IComparer&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, IComparer&lt;TSource&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Maximum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IComparer%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L379">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0},``0)">MaxOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, IComparer&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MaxOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, IComparer&lt;TSource&gt; comparer, TSource defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Maximum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L394">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">MaxOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MaxOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Maximum item from the sequence or default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L407">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____1_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},``1)">MaxOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MaxOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Maximum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L420">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1})">MaxOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MaxOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Maximum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MaxOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L435">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MaxOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____1_" data-uid="CodeJam.Collections.EnumerableExtensions.MaxOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1},``1)">MaxOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, IComparer&lt;T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns maximum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MaxOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, IComparer&lt;T&gt; comparer, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Maximum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L30">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Byte})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Byte&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Byte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Decimal%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2000">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Decimal})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Decimal&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Decimal</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Double%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1795">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Double})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Double&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Double</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int16%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L420">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int16})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int16&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L810">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int32})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int32&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int64%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1200">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int64})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int64&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Byte%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L112">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Byte}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Byte&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Byte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Decimal%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2082">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Decimal}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Decimal&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Double%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1887">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Double}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Double&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Double</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int16%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L502">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int16}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int16&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int32%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L892">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int32}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int32&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int64%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1282">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int64}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int64&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.SByte%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L307">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.SByte}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;SByte&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.SByte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Single%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1682">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Single}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Single&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Single</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt16%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L697">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt16}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt16&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt32%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1087">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt32}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt32&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt64%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1477">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64___" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt64}})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt64&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong ? &gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.SByte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L225">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.SByte})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, SByte&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.SByte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Single%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1590">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Single})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Single&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Single</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt16%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L615">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt16})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt16&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1005">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt32})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt32&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt64%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1395">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt64})">MinBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt64&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L23">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">MinBy&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L61">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinBy_" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinBy__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MinBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1})">MinBy&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, IComparer&lt;TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinBy&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, IComparer&lt;TValue&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TValue&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Byte%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L73">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Byte____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Byte},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Byte&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Byte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Decimal%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2043">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Decimal____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Decimal},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Decimal&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Decimal</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Double%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1843">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Double____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Double},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Double&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Double</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int16%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L463">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int16____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int16},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int16&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int32%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L853">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int32____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int32},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int32&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Int64%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1243">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Int64____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int64},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Int64&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Int64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Byte%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L169">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Byte_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Byte}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Byte&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, byte ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Byte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Decimal%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L2139">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Decimal_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Decimal}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Decimal&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, decimal ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Double%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1944">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Double_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Double}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Double&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, double ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Double</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int16%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L559">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int16_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int16}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int16&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, short ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int32%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L949">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int32_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int32}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int32&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, int ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Int64%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1339">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Int64_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Int64}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Int64&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, long ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.SByte%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L364">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_SByte_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.SByte}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;SByte&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.SByte</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.Single%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1739">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_Single_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.Single}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;Single&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.Single</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt16%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L754">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt16_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt16}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt16&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt16</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt32%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1144">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt32_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt32}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt32&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt32</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Nullable%7BSystem.UInt64%7D%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1534">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Nullable_System_UInt64_____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Nullable{System.UInt64}},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Nullable&lt;UInt64&gt;&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong ? &gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Nullable</span>&lt;<span class="xref">System.UInt64</span>&gt;&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.SByte%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L268">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_SByte____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.SByte},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, SByte&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, sbyte&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.SByte</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Single%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1638">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Single____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Single},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, Single&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, float&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.Single</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt16%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L658">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt16____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt16},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt16&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ushort&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt16</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt32%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1048">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt32____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt32},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt32&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, uint&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt32</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.UInt64%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.generated.cs/#L1438">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_UInt64____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt64},``0)">MinByOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, UInt64&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, ulong&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, <span class="xref">System.UInt64</span>&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L43">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},``0)">MinByOrDefault&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinByOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L137">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinByOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinByOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1},``0)">MinByOrDefault&lt;TSource, TValue&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, TValue&gt;, IComparer&lt;TValue&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Invokes a <code data-dev-comment-type="paramref" class="paramref">selector</code> on each element of a <code data-dev-comment-type="paramref" class="paramref">source</code>
and returns the item with minimum value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinByOrDefault&lt;TSource, TValue&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TValue&gt; selector, IComparer&lt;TValue&gt; comparer, TSource defaultValue = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to determine the minimum value of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TValue&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>A transform function to apply to each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TValue&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Value returned if collection contains no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>The item with minimum value in the sequence or <code data-dev-comment-type="typeparamref" class="typeparamref">TSource</code> default value if
<code data-dev-comment-type="paramref" class="paramref">source</code> has no not null elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>Type of the value</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L248">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``1(System.Collections.Generic.IEnumerable{``0})">MinOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Minimum item from the sequence or default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L258">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``1(System.Collections.Generic.IEnumerable{``0},``0)">MinOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, TSource defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L268">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">MinOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, IComparer&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, IComparer&lt;TSource&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IComparer%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L279">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IComparer___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0},``0)">MinOrDefault&lt;TSource&gt;(IEnumerable&lt;TSource&gt;, IComparer&lt;TSource&gt;, TSource)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TSource MinOrDefault&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source, IComparer&lt;TSource&gt; comparer, TSource defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;TSource&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TSource</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L294">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">MinOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MinOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Minimum item from the sequence or default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L307">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1____1_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},``1)">MinOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MinOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L320">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1})">MinOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MinOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.MinOrDefault%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IComparer%7B%60%601%7D%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxOrDefault.cs/#L335">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_MinOrDefault_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_MinOrDefault__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IComparer___1____1_" data-uid="CodeJam.Collections.EnumerableExtensions.MinOrDefault``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IComparer{``1},``1)">MinOrDefault&lt;TSource, T&gt;(IEnumerable&lt;TSource&gt;, Func&lt;TSource, T&gt;, IComparer&lt;T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns minimum item from the sequence or default value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T MinOrDefault&lt;TSource, T&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, T&gt; selector, IComparer&lt;T&gt; comparer, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, T&gt;</td>
        <td><span class="parametername">selector</span></td>
        <td><p>The value selector.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The comparer.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>The default value to return if the sequence.s empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Minimum item from the sequence or default value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_OrderBy__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.OrderBy%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L185">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_OrderBy_" data-uid="CodeJam.Collections.EnumerableExtensions.OrderBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_OrderBy__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.OrderBy``1(System.Collections.Generic.IEnumerable{``0})">OrderBy&lt;TSource&gt;(IEnumerable&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements of a sequence in ascending order.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IOrderedEnumerable&lt;TSource&gt; OrderBy&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to order.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Linq.IOrderedEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Linq.IOrderedEnumerable&lt;TElement&gt;</span> whose elements are sorted.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_OrderByDescending__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.OrderByDescending%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L197">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_OrderByDescending_" data-uid="CodeJam.Collections.EnumerableExtensions.OrderByDescending*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_OrderByDescending__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.OrderByDescending``1(System.Collections.Generic.IEnumerable{``0})">OrderByDescending&lt;TSource&gt;(IEnumerable&lt;TSource&gt;)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements of a sequence in descending order.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IOrderedEnumerable&lt;TSource&gt; OrderByDescending&lt;TSource&gt;(this IEnumerable&lt;TSource&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to order.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Linq.IOrderedEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Linq.IOrderedEnumerable&lt;TElement&gt;</span> whose elements are sorted.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Page__1_System_Collections_Generic_IEnumerable___0__System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Page%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.Page.cs/#L20">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Page_" data-uid="CodeJam.Collections.EnumerableExtensions.Page*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Page__1_System_Collections_Generic_IEnumerable___0__System_Int32_System_Int32_" data-uid="CodeJam.Collections.EnumerableExtensions.Page``1(System.Collections.Generic.IEnumerable{``0},System.Int32,System.Int32)">Page&lt;T&gt;(IEnumerable&lt;T&gt;, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Extracts <code data-dev-comment-type="paramref" class="paramref">pageSize</code> elements from a sequence at a particular one-based page number.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Page&lt;T&gt;(this IEnumerable&lt;T&gt; source, int pageIndex, int pageSize)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence from which to page.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">pageIndex</span></td>
        <td><p>The one-based page number.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">pageSize</span></td>
        <td><p>The size of the page.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>A new sequence containing elements are at the specified <code data-dev-comment-type="paramref" class="paramref">pageIndex</code> from the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Prepend__1_System_Collections_Generic_IEnumerable___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Prepend%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L79">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Prepend_" data-uid="CodeJam.Collections.EnumerableExtensions.Prepend*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Prepend__1_System_Collections_Generic_IEnumerable___0____0_" data-uid="CodeJam.Collections.EnumerableExtensions.Prepend``1(System.Collections.Generic.IEnumerable{``0},``0)">Prepend&lt;T&gt;(IEnumerable&lt;T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Prepends specified <code data-dev-comment-type="paramref" class="paramref">element</code> to the collection start.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Prepend&lt;T&gt;(this IEnumerable&lt;T&gt; source, T element)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source enumerable.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">element</span></td>
        <td><p>Element to prepend.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Concatenated enumerable</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Prepend__1_System_Collections_Generic_IEnumerable___0____0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Prepend%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L101">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Prepend_" data-uid="CodeJam.Collections.EnumerableExtensions.Prepend*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Prepend__1_System_Collections_Generic_IEnumerable___0____0___" data-uid="CodeJam.Collections.EnumerableExtensions.Prepend``1(System.Collections.Generic.IEnumerable{``0},``0[])">Prepend&lt;T&gt;(IEnumerable&lt;T&gt;, T[])</h4>
  <div class="markdown level1 summary"><p>Prepends specified <code data-dev-comment-type="paramref" class="paramref">elements</code> to the collection start.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Prepend&lt;T&gt;(this IEnumerable&lt;T&gt; source, params T[] elements)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source enumerable.</p>
</td>
      </tr>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">elements</span></td>
        <td><p>Elements to prepend.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Concatenated enumerable</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_SelectMany__1_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.SelectMany%60%601(System.Collections.Generic.IEnumerable%7BSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L343">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_SelectMany_" data-uid="CodeJam.Collections.EnumerableExtensions.SelectMany*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_SelectMany__1_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.SelectMany``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{``0}})">SelectMany&lt;TSource&gt;(IEnumerable&lt;IEnumerable&lt;TSource&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Projects each element of a sequence to an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> and flattens the resulting sequences into
one sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; SelectMany&lt;TSource&gt;(this IEnumerable&lt;IEnumerable&lt;TSource&gt;&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>A sequence of values to project.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose elements are the result of invoking the one-to-many transform function
on each element of the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Slice__1_System_Collections_Generic_IEnumerable___0__System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Slice%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.Slice.cs/#L28">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Slice_" data-uid="CodeJam.Collections.EnumerableExtensions.Slice*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Slice__1_System_Collections_Generic_IEnumerable___0__System_Int32_System_Int32_" data-uid="CodeJam.Collections.EnumerableExtensions.Slice``1(System.Collections.Generic.IEnumerable{``0},System.Int32,System.Int32)">Slice&lt;T&gt;(IEnumerable&lt;T&gt;, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Extracts <code data-dev-comment-type="paramref" class="paramref">count</code> elements from a sequence at a particular zero-based starting index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Slice&lt;T&gt;(this IEnumerable&lt;T&gt; source, int startIndex, int count)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence from which to extract elements.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based index at which to begin slicing.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of items to slice out of the index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>A new sequence containing any elements sliced out from the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements in the source sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="CodeJam_Collections_EnumerableExtensions_Slice__1_System_Collections_Generic_IEnumerable___0__System_Int32_System_Int32__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>If the starting position or count specified result in slice extending past the end of the sequence,
it will return all elements up to that point. There is no guarantee that the resulting sequence will
contain the number of elements requested - it may have anywhere from 0 to <code data-dev-comment-type="paramref" class="paramref">count</code>.<br>
This method is implemented in an optimized manner for any sequence implementing <code>IList{T}</code>.<br>
The result of Slice() is identical to: <code>sequence.Skip(startIndex).Take(count)</code>.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Split__1_System_Collections_Generic_IEnumerable___0__System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Split%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.Split.cs/#L18">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Split_" data-uid="CodeJam.Collections.EnumerableExtensions.Split*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Split__1_System_Collections_Generic_IEnumerable___0__System_Int32_" data-uid="CodeJam.Collections.EnumerableExtensions.Split``1(System.Collections.Generic.IEnumerable{``0},System.Int32)">Split&lt;T&gt;(IEnumerable&lt;T&gt;, Int32)</h4>
  <div class="markdown level1 summary"><p>Splits the input sequence into a sequence of chunks of the specified size.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T[]&gt; Split&lt;T&gt;(this IEnumerable&lt;T&gt; source, int size)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence to split into chunks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">size</span></td>
        <td><p>The size of the chunks.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T[]&gt;</td>
        <td><p>A sequence of chunks of the specified size.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TakeLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TakeLast%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TakeLast.cs/#L23">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TakeLast_" data-uid="CodeJam.Collections.EnumerableExtensions.TakeLast*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TakeLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_" data-uid="CodeJam.Collections.EnumerableExtensions.TakeLast``1(System.Collections.Generic.IEnumerable{``0},System.Int32)">TakeLast&lt;T&gt;(IEnumerable&lt;T&gt;, Int32)</h4>
  <div class="markdown level1 summary"><p>Returns a specified number of contiguous elements from the end of a sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TakeLast&lt;T&gt;(this IEnumerable&lt;T&gt; source, int count)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The sequence to return the last element of.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of elements to return.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains the specified number of elements from the end of the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="CodeJam_Collections_EnumerableExtensions_TakeLast__1_System_Collections_Generic_IEnumerable___0__System_Int32__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>This operator uses deferred execution and streams its results.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToDictionary__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__CodeJam_Collections_DictionaryDuplicate_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToDictionary%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CCodeJam.Collections.DictionaryDuplicate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.ToDictionary.cs/#L34">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToDictionary_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToDictionary__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__CodeJam_Collections_DictionaryDuplicate_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},CodeJam.Collections.DictionaryDuplicate)">ToDictionary&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, DictionaryDuplicate)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
according to a specified key selector function and a duplicate handling policy.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Dictionary&lt;TKey, T&gt; ToDictionary&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, DictionaryDuplicate duplicateHandling)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CodeJam.Collections.DictionaryDuplicate.html">DictionaryDuplicate</a></td>
        <td><span class="parametername">duplicateHandling</span></td>
        <td><p>Policy for duplicate handling.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, T&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> that contains keys and values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToDictionary__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__CodeJam_Collections_DictionaryDuplicate_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToDictionary%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D%2CCodeJam.Collections.DictionaryDuplicate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.ToDictionary.cs/#L52">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToDictionary_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToDictionary__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__CodeJam_Collections_DictionaryDuplicate_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1},CodeJam.Collections.DictionaryDuplicate)">ToDictionary&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, IEqualityComparer&lt;TKey&gt;, DictionaryDuplicate)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
according to a specified key selector function, a comparer and a duplicate handling policy.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Dictionary&lt;TKey, T&gt; ToDictionary&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer, DictionaryDuplicate duplicateHandling)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare keys.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CodeJam.Collections.DictionaryDuplicate.html">DictionaryDuplicate</a></td>
        <td><span class="parametername">duplicateHandling</span></td>
        <td><p>Policy for duplicate handling.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, T&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> that contains keys and values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToDictionary__3_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Func___0___2__CodeJam_Collections_DictionaryDuplicate_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToDictionary%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Func%7B%60%600%2C%60%602%7D%2CCodeJam.Collections.DictionaryDuplicate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.ToDictionary.cs/#L72">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToDictionary_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToDictionary__3_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Func___0___2__CodeJam_Collections_DictionaryDuplicate_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},CodeJam.Collections.DictionaryDuplicate)">ToDictionary&lt;T, TKey, TElement&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, Func&lt;T, TElement&gt;, DictionaryDuplicate)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
according to a specified key selector function, an element selector function and a duplicate handling policy.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Dictionary&lt;TKey, TElement&gt; ToDictionary&lt;T, TKey, TElement&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, Func&lt;T, TElement&gt; elementSelector, DictionaryDuplicate duplicateHandling)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TElement&gt;</td>
        <td><span class="parametername">elementSelector</span></td>
        <td><p>A transform function to produce a result element value from each element.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CodeJam.Collections.DictionaryDuplicate.html">DictionaryDuplicate</a></td>
        <td><span class="parametername">duplicateHandling</span></td>
        <td><p>Policy for duplicate handling.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TElement&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> that contains keys and values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TElement</span></td>
        <td><p>The type of the value returned by <code data-dev-comment-type="paramref" class="paramref">elementSelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToDictionary__3_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Func___0___2__System_Collections_Generic_IEqualityComparer___1__CodeJam_Collections_DictionaryDuplicate_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToDictionary%60%603(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Func%7B%60%600%2C%60%602%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D%2CCodeJam.Collections.DictionaryDuplicate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.ToDictionary.cs/#L94">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToDictionary_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToDictionary__3_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Func___0___2__System_Collections_Generic_IEqualityComparer___1__CodeJam_Collections_DictionaryDuplicate_" data-uid="CodeJam.Collections.EnumerableExtensions.ToDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1},CodeJam.Collections.DictionaryDuplicate)">ToDictionary&lt;T, TKey, TElement&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, Func&lt;T, TElement&gt;, IEqualityComparer&lt;TKey&gt;, DictionaryDuplicate)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
according to a specified key selector function, an element selector function,
a comparer and a duplicate handling policy.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Dictionary&lt;TKey, TElement&gt; ToDictionary&lt;T, TKey, TElement&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, Func&lt;T, TElement&gt; elementSelector, IEqualityComparer&lt;TKey&gt; comparer, DictionaryDuplicate duplicateHandling)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The source to create a lookup dictionary from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TElement&gt;</td>
        <td><span class="parametername">elementSelector</span></td>
        <td><p>A transform function to produce a result element value from each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An equality comparer to compare keys.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CodeJam.Collections.DictionaryDuplicate.html">DictionaryDuplicate</a></td>
        <td><span class="parametername">duplicateHandling</span></td>
        <td><p>Policy for duplicate handling.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TElement&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.Dictionary&lt;TKey, TValue&gt;</span> that contains keys and values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the value returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TElement</span></td>
        <td><p>The type of the value returned by <code data-dev-comment-type="paramref" class="paramref">elementSelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToHashSet__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToHashSet%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L125">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToHashSet_" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToHashSet__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet``1(System.Collections.Generic.IEnumerable{``0})">ToHashSet&lt;T&gt;(IEnumerable&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static HashSet&lt;T&gt; ToHashSet&lt;T&gt;(this IEnumerable&lt;T&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.HashSet</span>&lt;T&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> that contains elements from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToHashSet__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToHashSet%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L138">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToHashSet_" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToHashSet__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">ToHashSet&lt;T&gt;(IEnumerable&lt;T&gt;, IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> with the specified equality comparer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static HashSet&lt;T&gt; ToHashSet&lt;T&gt;(this IEnumerable&lt;T&gt; source, IEqualityComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> implementation to use
to comparing values in the set, or <code>null</code> to use the default implementation for the set type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.HashSet</span>&lt;T&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> that contains elements from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToHashSet__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToHashSet%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L154">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToHashSet_" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToHashSet__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">ToHashSet&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static HashSet&lt;TKey&gt; ToHashSet&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.HashSet</span>&lt;TKey&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> that contains keys from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToHashSet__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToHashSet%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L170">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToHashSet_" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToHashSet__2_System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.ToHashSet``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">ToHashSet&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from an <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> with the specified equality comparer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static HashSet&lt;TKey&gt; ToHashSet&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create a <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> from.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract a key from each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> implementation to use
to comparing values in the set, or <code>null</code> to use the default implementation for the set type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.HashSet</span>&lt;TKey&gt;</td>
        <td><p>A <span class="xref">System.Collections.Generic.HashSet&lt;T&gt;</span> that contains keys from the input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key returned by <code data-dev-comment-type="paramref" class="paramref">keySelector</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%601(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L31">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``1(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}})">TopoSort&lt;T&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%601(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L128">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``1(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Collections.Generic.IEqualityComparer{``0})">TopoSort&lt;T&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, IEqualityComparer&lt;T&gt; equalityComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">equalityComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L18">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}})">TopoSort&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L109">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__1_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Collections.Generic.IEqualityComparer{``0})">TopoSort&lt;T&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, IEqualityComparer&lt;T&gt; equalityComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">equalityComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%602(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L60">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``2(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Func{``0,``1})">TopoSort&lt;T, TKey&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, Func&lt;T, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T, TKey&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, Func&lt;T, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>Function that returns an item key, wich is used to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%602(System.Collections.Generic.ICollection%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L93">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_ICollection___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``2(System.Collections.Generic.ICollection{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">TopoSort&lt;T, TKey&gt;(ICollection&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, Func&lt;T, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T, TKey&gt;(this ICollection&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, Func&lt;T, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; keyComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>Function that returns an item key, wich is used to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">keyComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L45">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Func{``0,``1})">TopoSort&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, Func&lt;T, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, Func&lt;T, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>Function that returns an item key, wich is used to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.TopoSort%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.TopoSort.cs/#L76">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_TopoSort_" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_TopoSort__2_System_Collections_Generic_IEnumerable___0__System_Func___0_System_Collections_Generic_IEnumerable___0___System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.TopoSort``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``0}},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">TopoSort&lt;T, TKey&gt;(IEnumerable&lt;T&gt;, Func&lt;T, IEnumerable&lt;T&gt;&gt;, Func&lt;T, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs topological sort on <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; TopoSort&lt;T, TKey&gt;(this IEnumerable&lt;T&gt; source, Func&lt;T, IEnumerable&lt;T&gt;&gt; dependsOnGetter, Func&lt;T, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; keyComparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>Collection to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td><span class="parametername">dependsOnGetter</span></td>
        <td><p>Function that returns items dependent on specified item.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>Function that returns an item key, wich is used to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">keyComparer</span></td>
        <td><p>Equality comparer for item comparison</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>Topologically sorted list of items in <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_ToStrings__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.ToStrings%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L427">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_ToStrings_" data-uid="CodeJam.Collections.EnumerableExtensions.ToStrings*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_ToStrings__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.ToStrings``1(System.Collections.Generic.IEnumerable{``0})">ToStrings&lt;T&gt;(IEnumerable&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns string representations of <code data-dev-comment-type="paramref" class="paramref">source</code> items.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;string&gt; ToStrings&lt;T&gt;(this IEnumerable&lt;T&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> to create strings from.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.String</span>&gt;</td>
        <td><p>Enumeration of string representation of <code data-dev-comment-type="paramref" class="paramref">source</code> elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_Union__1_System_Collections_Generic_IEnumerable___0____0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.Union%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D%2C%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L23">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_Union_" data-uid="CodeJam.Collections.EnumerableExtensions.Union*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_Union__1_System_Collections_Generic_IEnumerable___0____0___" data-uid="CodeJam.Collections.EnumerableExtensions.Union``1(System.Collections.Generic.IEnumerable{``0},``0[])">Union&lt;T&gt;(IEnumerable&lt;T&gt;, T[])</h4>
  <div class="markdown level1 summary"><p>Produces the set union of two sequences by using the default equality comparer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Union&lt;T&gt;(this IEnumerable&lt;T&gt; source, params T[] elements)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the first set for the union.</p>
</td>
      </tr>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">elements</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the second set for the union.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains the elements from both input sequences, excluding duplicates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_UnionBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.UnionBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L308">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_UnionBy_" data-uid="CodeJam.Collections.EnumerableExtensions.UnionBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_UnionBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__" data-uid="CodeJam.Collections.EnumerableExtensions.UnionBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">UnionBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set union of two sequences by using the specified key to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; UnionBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the first set for the union.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the second set for the union.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains the elements from both input sequences, excluding duplicates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_UnionBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.UnionBy%60%602(System.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.cs/#L325">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_UnionBy_" data-uid="CodeJam.Collections.EnumerableExtensions.UnionBy*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_UnionBy__2_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__System_Func___0___1__System_Collections_Generic_IEqualityComparer___1__" data-uid="CodeJam.Collections.EnumerableExtensions.UnionBy``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">UnionBy&lt;TSource, TKey&gt;(IEnumerable&lt;TSource&gt;, IEnumerable&lt;TSource&gt;, Func&lt;TSource, TKey&gt;, IEqualityComparer&lt;TKey&gt;)</h4>
  <div class="markdown level1 summary"><p>Produces the set union of two sequences by using the specified key and <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;TSource&gt; UnionBy&lt;TSource, TKey&gt;(this IEnumerable&lt;TSource&gt; first, IEnumerable&lt;TSource&gt; second, Func&lt;TSource, TKey&gt; keySelector, IEqualityComparer&lt;TKey&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">first</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the first set for the union.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><span class="parametername">second</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> whose distinct elements form the second set for the union.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TSource, TKey&gt;</td>
        <td><span class="parametername">keySelector</span></td>
        <td><p>A function to extract the key for each element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>An <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;TSource&gt;</td>
        <td><p>An <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span> that contains the elements from both input sequences, excluding duplicates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions_WithIndex__1_System_Collections_Generic_IEnumerable___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions.WithIndex%60%601(System.Collections.Generic.IEnumerable%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.With.cs/#L17">View Source</a>
  </span>
  <a id="CodeJam_Collections_EnumerableExtensions_WithIndex_" data-uid="CodeJam.Collections.EnumerableExtensions.WithIndex*"></a>
  <h4 id="CodeJam_Collections_EnumerableExtensions_WithIndex__1_System_Collections_Generic_IEnumerable___0__" data-uid="CodeJam.Collections.EnumerableExtensions.WithIndex``1(System.Collections.Generic.IEnumerable{``0})">WithIndex&lt;T&gt;(IEnumerable&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Associates an index to each element of the source sequence.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;IndexedItem&lt;T&gt;&gt; WithIndex&lt;T&gt;(this IEnumerable&lt;T&gt; source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
        <td><span class="parametername">source</span></td>
        <td><p>The input sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="CodeJam.Collections.IndexedItem-1.html">IndexedItem</a>&lt;T&gt;&gt;</td>
        <td><p>A sequence of elements paired with their index in the sequence.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_EnumerableExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Collections.EnumerableExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Enumerable/EnumerableExtensions.MinMaxBy.cs/#L8" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
